@import 'antd/es/style/themes/default.less';
.sider {
  position: relative;

  box-sizing: border-box;
  height: 100%;
  padding-top: 64px;
}
.sider__header {
  font-size: 0;

  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 64px;
  padding: 0 8px;
  line-height: 64px;
  font-size: 20px;
  span {
    padding-left: 12px;
    color: @primary-color;
    font-family: 黑体;
  }
}
.sider__content {
  height: 100%;

  color: @text-color;
  // background-color: #0039bf;
}
.menu {
  -webkit-user-select: none;
  > li {
    overflow: hidden;

    cursor: pointer;
    &:hover {
      .menu__firstMenu {
        color: @text-color;
      }
    }
    &.active {
      .menu__firstMenu {
        color: @primary-color;
      }
      .menu__direction-icon {
        transition: all .5s;
        transform: rotate(-180deg);
      }
    }
  }
}
.menu__firstMenu {
  font-size: @font-size-base;
  line-height: 56px;

  position: relative;
  // height: 54px;

  padding: 0 40px 0 48px;

  color: @text-color;
  // background-color: @primary-color;
  &.no-icon {
    .firstmenu__title {
      margin-left: -28px;
      &.no-children {
        cursor: pointer;
        &:hover {
          color: @primary-color;
        }
      }
      &.active {
        color: @primary-color;
      }
    }
  }
}
.menu__icon {
  font-size: @font-size-lg;

  position: absolute;
  top: 0;
  left: 0;

  width: 68px;
  height: 48px;
  padding-left: 18px;
}
.menu__direction {
  font-size: @font-size-base;

  position: absolute;
  top: 0;
  right: 8px;

  height: 56px;
  padding-right: 24px;
}
.sub-menu {
  > li {
    font-size: @font-size-base;
    line-height: 42px;
    // padding-left: 68px;

    color: @text-color;
    &:hover {
      color: @primary-color;
      cursor: pointer;
    }
    &.active {
      // color: rgb(255, 202, 102);
      color: @primary-color;
    }
  }
}
